package com.jensen.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by Jensen on 2016/9/29.
 */
@Entity
public class Address {

    @Id
    private String id;
    private String street;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public Address(){}

    public Address(String id, String street) {
        this.id = id;
        this.street = street;
    }
}
